html,body{
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #f7f7f7;
  }
  /* 头部 */
.header{
    background-color: white;
}
.header .search{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}
.header input{
    background-color: #F7F7F7;
    outline: none;
    border: 0;
    height: 30px;
    border-radius: 15px;
    text-indent: 30px;
    width: 100%;
}
.header .sousuo{
    position: relative;
    flex: 1;
    padding: 0 10px;
}
.header .sousuo span{
    position: absolute;
    left: 20px;
    top: 8px;
}
/* 主要内容 */
main{
    flex: 1;
    display: flex;
    justify-content: space-between;
    overflow-y: scroll;
}
.nav{
    width: 20%;
}
.nav .active{
    background-color: #fff;
}
.nav .active a{
    color: #e43130;
}
.nav li{
    text-align: center;
    line-height: 45px;
}
.nav li a{
    color: black;
}
main .con{
    background-color: #fff;
    flex: 1;
    padding-left: 10px;
    height: 100%;
    overflow-y: scroll;
}
main .con>p{
    line-height:45px;
    padding-left:10px;
    font-weight: bold;
}
main .con ul{
    width: 90%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 10px;
}
main .con li{
    width: 28%;
    box-sizing:border-box 
}
main .con li a{
    color: black;
    text-align: center;
    font-size: 14px
}
/* 底部 */
#footer{
    background-color: white;
}
#footer ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}
#footer ul li{
    width: 25%;
    text-align: center;
}
#footer ul li a{
    color: #8b8b8b;
}
#footer ul li p{
    margin-top:6px;
}